package cn.kgc.dto.update;

import java.io.Serializable;

import lombok.*;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 采购信息(WmsPurchase)表实体类
 *
 * @author makejava
 * @since 2022-12-07 11:06:16
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel
@SuppressWarnings("serial")
public class WmsPurchaseUpdateDTO implements Serializable {
    @ApiModelProperty(name = "id", value = "主键", dataType = "int")
    private Long id; //主键


    @ApiModelProperty(name = "assigneeId", value = "采购人id", dataType = "java.lang.Long")
    private Long assigneeId;    //采购人id


    @ApiModelProperty(name = "assigneeName", value = "采购人名", dataType = "java.lang.String")
    private String assigneeName;    //采购人名


    @ApiModelProperty(name = "phone", value = "联系方式", dataType = "java.lang.String")
    private String phone;    //联系方式


    @ApiModelProperty(name = "priority", value = "优先级", dataType = "java.lang.Integer")
    private Integer priority;    //优先级


    @ApiModelProperty(name = "status", value = "状态[0新建，1已分配，2正在采购，3已完成，4采购失败]", dataType = "java.lang.Integer")
    private Integer status;    //状态[0新建，1已分配，2正在采购，3已完成，4采购失败]


    @ApiModelProperty(name = "wareId", value = "仓库id", dataType = "java.lang.Long")
    private Long wareId;    //仓库id


    @ApiModelProperty(name = "amount", value = "总金额", dataType = "java.math.BigDecimal")
    private BigDecimal amount;    //总金额


    private int version;   //版本


}
